package com.heima.model.admin.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 用户表
 */
@Data
@TableName("ad_user")
public class AdUser {


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("name")
    private String name;
    @TableField("password")
    private String password;
    @TableField("salt")
    private String salt;
    @TableField("nickname")
    private String nickname;
    @TableField("image")
    private String image;
    @TableField("phone")
    private String phone;
    @TableField("status")
    private String status;
    @TableField("email")
    private String email;
    @TableField("login_time")
    private Date loginTime;
    @TableField("created_time")
    private Date createdTime;

}
